<template>
   <div class="dashboard-container">
      <h2>房飞鸿管理系统首页</h2>
   </div>
</template>

<script>
   import {mapGetters} from 'vuex'

   export default {
      name: 'homePage',
      computed: {
         ...mapGetters([
            'name',
            'roles'
         ])
      },
      created() {
         // console.dir(Promise);
      }
   }
</script>

<style rel="stylesheet/scss" lang="scss" scoped type="text/scss">
   .dashboard {
      &-container {
         margin: 30px;
      }
      &-text {
         font-size: 30px;
         line-height: 46px;
      }
   }
</style>
